package com.cashmama.market.api.domain.vo.openapi.response;

/**
 * @author : Kingdy
 */
public class SendData {
    /** 要请求的API方法名称*/
    private String method;
    /** 请求的签名*/
    private String sign;
    /** 签名类型*/
    private String sign_type;
    /** 请求的业务数据*/
    private String biz_data;
    /** biz_data的加密方式（0不加密，1加密:采用DES加密算法）*/
    private String biz_enc;
    /** 经过RSA加密后的DES密钥（biz_enc为1时为必传）*/
    private String des_key;
    /** 我司平台分配给合作机构应用的唯一标识*/
    private String app_id;
    /** API协议版本，默认值：1.0*/
    private String version;
    /** 响应格式，目前仅支持json*/
    private String format;
    /** 时间戳，精确到毫秒（比如 1539073086805 ）*/
    private String timestamp;
    /** 回调url*/
    private String return_url;

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSign_type() {
        return sign_type;
    }

    public void setSign_type(String sign_type) {
        this.sign_type = sign_type;
    }

    public String getBiz_data() {
        return biz_data;
    }

    public void setBiz_data(String biz_data) {
        this.biz_data = biz_data;
    }

    public String getBiz_enc() {
        return biz_enc;
    }

    public void setBiz_enc(String biz_enc) {
        this.biz_enc = biz_enc;
    }

    public String getDes_key() {
        return des_key;
    }

    public void setDes_key(String des_key) {
        this.des_key = des_key;
    }

    public String getApp_id() {
        return app_id;
    }

    public void setApp_id(String app_id) {
        this.app_id = app_id;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getReturn_url() {
        return return_url;
    }

    public void setReturn_url(String return_url) {
        this.return_url = return_url;
    }

    @Override
    public String toString() {
        return "SendData{" +
                "method='" + method + '\'' +
                ", sign='" + sign + '\'' +
                ", sign_type='" + sign_type + '\'' +
                ", biz_data='" + biz_data + '\'' +
                ", biz_enc='" + biz_enc + '\'' +
                ", des_key='" + des_key + '\'' +
                ", app_id='" + app_id + '\'' +
                ", version='" + version + '\'' +
                ", format='" + format + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", return_url='" + return_url + '\'' +
                '}';
    }
}
